package com.mp.pojo.Query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 *@description:
 *@author: Ace
 *@create: 2019-08-29 11:56
 */
@Data
@ApiModel(value = "站点设置")
public class WebsiteSetUpQuery {

    @ApiModelProperty(value = "站点id", example = "1", required = true)
    @NotNull(message = "站点Id不能为空")
    private Integer websiteId;

    @ApiModelProperty(value = "登录失败次数", example = "1", required = true)
    @NotNull(message = "登录失败次数不能为空")
    private Integer loginFailNumber;

    @ApiModelProperty(value = "删除记录数量", example = "500", required = true)
    @NotNull(message = "删除记录数量不能为空")
    private Integer deleteDataNumber;

    @ApiModelProperty(value = "状态", example = "1", required = true)
    @NotNull(message = "状态不能为空")
    private Integer state;
}
